package org.springframework.samples.mvc.employee;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class EmployeeBeanConfig {
	
	@Bean 
	@Qualifier("employeeValidator")
	public EmployeeValidator createEmployeeValidator(){
		return new EmployeeValidator();
	}
}
